<%--
  Created by IntelliJ IDEA.
  User: LENOVO
  Date: 2018/5/26
  Time: 21:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>更新用户</title>
</head>
<body>
<h1>用户更新</h1>
<%

    String id = request.getParameter("id");
    String username = request.getParameter("username");

    pageContext.setAttribute("password", request.getParameter("password"));
%>

<form method="post" action="userUpdateHandler.jsp">
    <input type="text" hidden="hidden" name="id" id="id" value="<%=request.getParameter("id")%>"><br/>
    用户名：<input type="text" name="username" id="username" value="<%=request.getParameter("username")%>"><br/>
    密码：<input type="text" name="password" id="password" value="<%=request.getParameter("password")%>"><br/>
    <button type="submit">更新</button>
</form>
</body>
</html>
